package com.bw.service.impl;

import com.bw.mapper.FastGoodMapper;
import com.bw.service.FastGoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
import java.util.Map;

@Service
public class FastGoodServiceImpl implements FastGoodService {

    @Autowired
    private FastGoodMapper fastGoodMapper;

    @Override
    public List<Map<String, Object>> queryRatings() {
        return fastGoodMapper.queryRatings();
    }

    @Override
    public List<Map<String, Object>> queryProvinces() {
        return fastGoodMapper.queryProvinces();
    }

    @Override
    public List<Map<String, Object>> queryActivity() {
        return fastGoodMapper.queryActivity();
    }

    @Override
    public List<Map<String, Object>> queryShopRatings() {
        return fastGoodMapper.queryShopRatings();
    }
}
